<template>
<div id="app">
  <keep-alive>
    <router-view v-if="$route.meta.keepAlive">
      <!-- 这里是会被缓存的视图组件，比如 Home！ -->
    </router-view>
  </keep-alive>
  <div  v-if="!$route.meta.keepAlive">
    <router-view class="routeViewBg"></router-view>
  </div>
</div>
</template>

<script>
export default {
  name: 'app'
}
</script>

<style>

</style>
